package com.zheng.mall.service;

import com.zheng.mall.common.dto.UserDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("mall-portal")
public interface UmsMemberService {

    @GetMapping("/sso/loadByUsername")
    UserDto loadByUserName(@RequestParam("username") String username);
}